package com.xizi.lotterySystem.common.exception.errorCode;

public interface ServiceErrorCodeConstants {

    ErrorCode SQL_ERROR = new ErrorCode(100,"sql error！");
    ErrorCode PARAM_ERROR = new ErrorCode(101,"参数不合法！");


    //---------------人员模块----------------
    ErrorCode PARAM_IS_NULL = new ErrorCode(1000,"参数为空！");
    ErrorCode NAME_ERROR = new ErrorCode(1001,"姓名错误！");
    ErrorCode MAIL_IS_USED = new ErrorCode(1002,"邮箱已被使用！");
    ErrorCode MAIL_ERROR = new ErrorCode(1003,"邮箱错误！");
    ErrorCode PHONE_NUMBER_ERROR = new ErrorCode(1004,"电话号码错误！");
    ErrorCode IDENTITY_ERROR = new ErrorCode(1005,"身份错误！");
    ErrorCode PHONE_IS_USED = new ErrorCode(1006,"电话号码已被使用！");
    ErrorCode PASSWORD_ERROR = new ErrorCode(1007,"密码强度不够！");
    ErrorCode PHONE_OR_PASSWORD_ERROR = new ErrorCode(1008,"电话号码或密码错误！");
    ErrorCode MAIL_NO_EXIST = new ErrorCode(1009,"邮箱不存在！");
    ErrorCode VERIFICATION_CODE_ERROR = new ErrorCode(1010,"验证码错误！");

    //------------- 奖品模块 ---------------



    //------------- 抽奖模块 ---------------
    ErrorCode ACTIVITY_OR_ACTIVITY_PRIZE_ISNULL = new ErrorCode(1300,"活动或活动奖品在数据库中找不到");
    ErrorCode ACTIVITY_FINISHED = new ErrorCode(1301,"活动已完成");
    ErrorCode ACTIVITY_PRIZE_FINISHED = new ErrorCode(1302,"活动奖品已被抽取");
    ErrorCode ACTIVITY_PRIZE_WINNER_COUNT_ERROR = new ErrorCode(1303,"活动奖品与中奖人数不相等");



    //------------- 活动模块 ---------------
    ErrorCode CREATE_ACTIVITY_USER_PRIZE_COUNT_ERROR = new ErrorCode(1400,"参与活动人数 应不小于 奖品数");
    ErrorCode CREATE_ACTIVITY_USER_INFORMATION_ERROR = new ErrorCode(1401,"创建活动用户信息错误！");
    ErrorCode CREATE_ACTIVITY_PRIZE_INFORMATION_ERROR = new ErrorCode(1402,"创建活动奖品信息错误！");
    ErrorCode ACTIVITY_ID_ERROR = new ErrorCode(1403,"活动id错误！");
    ErrorCode ACTIVITY_CONVENT_ERROR = new ErrorCode(1404,"活动相关的状态转换异常！");
    ErrorCode ACTIVITY_NO_EXIST = new ErrorCode(1405,"活动不存在！");
    ErrorCode ACTIVITY_PRIZE_NO_EXIST = new ErrorCode(1405,"活动奖品不存在！");



    //--------------上转图片模块-------------
    ErrorCode UPLOAD_PICTURE_ISNULL  = new ErrorCode(1500,"上转图片为空");
    ErrorCode UPLOAD_PICTURE_ERROR  = new ErrorCode(1501,"文件保存失败");



}
